package chapter03;

/**
 * //Definition for singly-linked list.
 */
public class Node {

    int val;
    Node prev, next;
    Node() {
    }
    Node(int val) {
        this.val = val;
    }
    Node(int val, Node prev, Node next) {
        this.val = val;
        this.prev = prev;
        this.next = next;
    }
}
